package org.boulderfoodrescue.webapp.client.old.agenda;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.boulderfoodrescue.webapp.client.pickuptimes.timepicker.PickupWindow;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.uibinder.client.UiField;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.Widget;

public class AgendaTable extends Composite{

	private static AgendaTableUiBinder uiBinder = GWT
	    .create(AgendaTableUiBinder.class);

	interface AgendaTableUiBinder extends UiBinder<Widget, AgendaTable> {
	}

	
	@UiField
	FlexTable flexTable;
	
	private Map<String, FlexTable> dayMap = new HashMap<String, FlexTable>();
	private List<PickupWindow> pickupTimes = new ArrayList<PickupWindow>();
	
	public AgendaTable() {
		initWidget(uiBinder.createAndBindUi(this));
	}
	public void addPickupWindow(PickupWindow window){
		window.getStart_time();
	}
}
